package com.gpay.erp.services.system.impl;

import com.gpay.erp.core.dao.BaseDao;
import com.gpay.erp.core.dao.page.PagerModel;
import com.gpay.erp.core.system.bean.OriginType;
import com.gpay.erp.services.system.OriginTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by Administrator on 2015/10/29 0029.
 */
@Service
public class OriginTypeServiceImpl implements OriginTypeService {
    @Resource
    private BaseDao dao;
    @Override
    public int insert(OriginType originType) {
        return 0;
    }

    @Override
    public int delete(OriginType originType) {
        return 0;
    }

    @Override
    public int deletes(String[] ids) {
        return 0;
    }

    @Override
    public int update(OriginType originType) {
        return 0;
    }

    @Override
    public OriginType selectOne(OriginType originType) {
        return null;
    }

    @Override
    public OriginType selectById(String id) {
        return null;
    }

    @Override
    public PagerModel selectPageList(OriginType originType) {
        return null;
    }

    @Override
    public List<OriginType> selectList(OriginType originType) {
        return dao.selectList("basic.selectListOrigin",originType);
    }
}
